Use __executable_start to find start of text segment for profiling
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 25 Jul 2010 19:09:54 +0000 (21:09 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 25 Jul 2010 19:09:54 +0000 (21:09 +0200)
commit4027d301fccf258b61ddcdb3d79bc9df5af23541
tree2e6ef59835fd7ab5f043477642887300e8d2dcb7
parent631ace5118c783137326d75efb07026bd91a8979
Use __executable_start to find start of text segment for profiling

* emacs.c (main) [PROFILING]: Use __executable_start if defined to
find start of text segment.
* dispnew.c (safe_bcopy): Don't define if HAVE___EXECUTABLE_START
is defined.

* configure.in: Check for __executable_start.
ChangeLog
configure
configure.in
src/ChangeLog
src/config.in
src/dispnew.c
src/emacs.c